package models

import "github.com/goravel/framework/database/orm"

type File struct {
	orm.Model
	CategoryId    int
	OriginName    string
	FileType      string
	FileMd5       string
	StorageDriver string
	StorageName   string
	Tags          string
	Status        int
	CreatorId     int
	CreatorName   string
}

func NewFile() *File {
	return &File{}
}

func (File) TableName() string {
	return "file"
}
